<?php
$pageTitle = "Регистрация";
include 'includes/header.php';
?>
<?php
if ($_POST)
{
    header('Location: index.php');
    exit();
}
else
{

}
?>
<div id="divEnter"><label><h1 id="lblEnter">Регистрация</h1></label></div>
<form method="POST" name="frm">
    <table>
        <tr>
            <td id="tdName"><label name="lblName">Име</label></td>
            <td><input type="text" name="nameBox"/></td>
        </tr>
        <tr>
            <td id="tdPass"><label name="lblPass">Парола</label></td>
            <td><input type="password" name="pass"</td>
        </tr>
        <tr>
            <td colspan="2"><a href="https://google.com">Google</a></td>
        </tr>
        <tr>
            <td colspan="2"><input id="log" type="submit" name="login" value="Регистрирай ме"/></td>
        </tr>
    </table>
</form>
<div id="divReg">
    <p>Ако вече сте регистриран моля използвайте формата за <a href="index.php">Вход в системата</a></p>
</div>
<?php
include 'includes/footer.php';
?>